package ace.module.oauth2.server.core.impl.dao.aggregate;

import ace.module.oauth2.server.core.impl.dao.entity.Oauth2Authorization;

/**
 * 客户端认证的令牌 aggregate.
 *
 * @author Caspar
 */
public interface Oauth2AuthorizationAggregate {

  Oauth2Authorization getByRefreshTokenValueOrAccessTokenValueOrAuthorizationCodeValueOrState(
      String token);
}